<?php
/* *****************************************
 * 
 * G_FrameWork 0.1 Desenv Version
 * 
 * *****************************************/
error_reporting(0);
session_start();
/*Defines arquivos do sistema*/
define("PROJECT_FOLDER","gframework");

//modulos
define('MODULES_PATH','../modules/');//modulos PHP

//classes e library
define('INCLUDE_PATH', '/includes/');//includes bibliotecas
require_once INCLUDE_PATH.'geral.php';//Include Geral
$server_path = $_SERVER['DOCUMENT_ROOT']."/".PROJECT_FOLDER;//
define('CLASS_LOAD', $server_path.'/_class/');//Classes

/*Define views*/
define('VIEW_PATH', './view/');
define('STYLE_PATH','./style/');
define('MODULES_PAGE_PATH', './view/modules/');//Modulos de template
define('TEMPLATE_PATH', VIEW_PATH.'templates/');
define('JS_PATH', VIEW_PATH.'js/');
define('IMAGES_PATH', VIEW_PATH.'images/');

require_once INCLUDE_PATH.'mysql.php';//Include Geral

define('VERSION',$desenv);
define('APP_NAME','gFramework');

/*Configuração de banco*/
//define("DB_CLASS",      INCLUDE_PATH.MYSQL);
define("DB_DATABASE",   "testes");
define("DB_HOST",       "localhost");
define("DB_USER",       "root");
define("DB_PASSWORD",   "");
define("DB_PERSISTENT", false);
/*Config End*/


